package com.recruit.wechat.bean;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author LF
 * @since 2020-08-25
 */
@TableName("wechat_job_application")
@ApiModel(value="WechatJobApplication对象", description="")
public class WechatJobApplication extends Model<WechatJobApplication> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "申请职位ID")
    @TableId(value = "job_application_id", type = IdType.AUTO)
    private Integer jobApplicationId;

    @ApiModelProperty(value = "附件ID")
    @TableField("enclosure_id")
    private Integer enclosureId;

    @ApiModelProperty(value = "简历ID")
    @TableField("resume_id")
    private Integer resumeId;

    @ApiModelProperty(value = "申请时间")
    @TableField("job_application_time")
    private String jobApplicationTime;

    public Integer getJobApplicationId() {
        return jobApplicationId;
    }

    public void setJobApplicationId(Integer jobApplicationId) {
        this.jobApplicationId = jobApplicationId;
    }
    public Integer getEnclosureId() {
        return enclosureId;
    }

    public void setEnclosureId(Integer enclosureId) {
        this.enclosureId = enclosureId;
    }
    public Integer getResumeId() {
        return resumeId;
    }

    public void setResumeId(Integer resumeId) {
        this.resumeId = resumeId;
    }
    public String getJobApplicationTime() {
        return jobApplicationTime;
    }

    public void setJobApplicationTime(String jobApplicationTime) {
        this.jobApplicationTime = jobApplicationTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.jobApplicationId;
    }

    @Override
    public String toString() {
        return "WechatJobApplication{" +
            "jobApplicationId=" + jobApplicationId +
            ", enclosureId=" + enclosureId +
            ", resumeId=" + resumeId +
            ", jobApplicationTime=" + jobApplicationTime +
        "}";
    }
}
